//
//  ZNetworkingObject.h
//  NSURLSession封装
//
//  Created by 周成龙 on 16/11/1.
//  Copyright © 2016年 ZCL. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^completeBlock)(NSData *data, NSError *error);
@interface ZNetworkingObject : NSObject

@property (nonatomic, copy)completeBlock completeBlock;
+ (instancetype)objectWithClassName:(NSString *)className;

// 添加参数
- (void)setObject:(id)value forKey:(NSString *)aKey;
// 取数据
- (id)objectForKey:(NSString *)key;


- (void)postCopleteData:(completeBlock)completeBlock;

@end
